import { NzDividerModule } from 'ng-zorro-antd/divider';
import { NzIconModule } from 'ng-zorro-antd/icon';
import { NzUploadModule } from 'ng-zorro-antd/upload';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
import { PageContainerComponent } from './components/containers/page-container/page-container.component';
import { WorkFlowContainerComponent } from './components/containers/work-flow-container/work-flow-container.component';
import { TemplateContainerComponent } from './components/containers/template-container/template-container.component';
import { BaseContainerComponent } from './components/containers/base-container.component';
import { NgxEchartsModule } from 'ngx-echarts';
import { EditorModule } from '@tinymce/tinymce-angular';

import {
  AddressSelectComponent,
  BaseFieldComponent,
  InputTextComponent,
  LabelTextComponent,
  SelectComponent,
  DateComponent,
  StartEndDateComponent,
  ProjectNumberComponent,
  BaseTableComponent,
  FinancialInputComponent
} from './components/fields';
import {
  NzButtonModule,
  NzCardModule,
  NzCascaderModule,
  NzInputModule,
  NzSelectModule,
  NzTimelineModule,
  NzToolTipModule,
  NzDatePickerModule,
  NzTableModule,
  NzModalModule,
  NzMessageModule,
  NzDescriptionsModule,
  NzCalendarModule,
  NzFormModule,
  NzTimePickerModule,
  NzBadgeModule,
  NzPopconfirmModule,
} from 'ng-zorro-antd';
import { RmbCapitalizeComponent } from './components/fields/rmb-capitalize/rmb-capitalize.component';
import { TextAreaComponent } from './components/fields/text-area/text-area.component';
import { SearchBarComponent } from './components/fields/search-bar/search-bar.component';
import { FilesComponent } from './components/fields/files/files.component';
import { SpaceOccupyingComponent } from './components/fields/space-occupying/space-occupying.component';
import { AutoFormComponent } from './components/fields/auto-form/auto-form.component';
import { CellTmpComponent } from './components/fields/auto-form/cell-tmp/cell-tmp.component';
import { AuditComponent } from './components/fields/audit/audit.component';
import { AuditRecordComponent } from './components/fields/audit/audit-record/audit-record.component';
import { AuditResultComponent } from './components/fields/audit/audit-result/audit-result.component';
import { AuditRecordItemComponent } from './components/fields/audit/audit-record/audit-record-item/audit-record-item.component';
import { NzRadioModule } from 'ng-zorro-antd/radio';
import { ColumnTableComponent } from './components/fields/column-table/column-table.component';
import { FileMakerComponent } from './components/fields/file-maker/file-maker.component';
import { AuthorityModule } from '../authority/authority.module';
import { BidOpeningComponent } from './components/fields/bid-opening/bid-opening.component';
import { ImgModalComponent } from './components/fields/bid-opening/img-modal/img-modal.component';
import { TabsComponent } from './components/fields/tabs/tabs.component';
import { CrossLineComponent } from './components/fields/cross-line/cross-line.component';
import { BidOpeningCeremonyComponent } from './components/fields/bid-opening-ceremony/bid-opening-ceremony.component';
import { NzPopoverModule } from 'ng-zorro-antd/popover';
import { FunctionButtonComponent } from './components/fields/function-button/function-button.component';
import { ChartRadarComponent } from './components/fields/chart-radar/chart-radar.component';
import { ChartPieComponent } from './components/fields/chart-pie/chart-pie.component';
import { ChartHistogramComponent } from './components/fields/chart-histogram/chart-histogram.component';
import { BidEvaluationComponent } from './components/fields/bid-evaluation/bid-evaluation.component';
// import { CKEditorModule } from '@ckeditor/ckeditor5-angular';
import { DocAssemblyComponent } from './components/fields/doc-assembly/doc-assembly.component';
import { NzTabsModule } from 'ng-zorro-antd/tabs';
import { NzPaginationModule } from 'ng-zorro-antd/pagination';
import { TaskMemberComponent } from './components/fields/task-member/task-member.component';
import { NzGridModule } from 'ng-zorro-antd/grid';
import { GoodsModalModule } from '../modal/goods-modal/goods-modal.module';
import { PermissionModule } from 'src/app/pages/companyInfo/organization/permission/permission.module';
import { EarlyWarningComponent } from './components/fields/early-warning/early-warning.component';
import { ShortMessageComponent } from './components/fields/short-message/short-message.component';
import { PlaceSelectComponent } from './components/fields/place-select/place-select.component';
import { PlaceSelectModalComponent } from './components/fields/place-select/place-select-modal/place-select-modal.component';
import { PlaceUseAxisModule } from '../place-use-axis/place-use-axis.module';
import { TaskTopBarComponent } from './components/fields/task-top-bar/task-top-bar.component';
import { CalendarMemoComponent } from './components/fields/calendar-memo/calendar-memo.component';
import { MemoItemComponent } from './components/fields/calendar-memo/memo-item/memo-item.component';
import { AddMemoItemComponent } from './components/fields/calendar-memo/add-memo-item/add-memo-item.component';
import { TaskNotificationComponent } from './components/fields/task-notification/task-notification.component';
import { TaskCardComponent } from './components/fields/task-notification/task-card/task-card.component';
import { AddressBookComponent } from './components/fields/address-book/address-book.component';
import { NzListModule } from 'ng-zorro-antd/list';
import { OfficeToolComponent } from './components/fields/office-tool/office-tool.component';
import { ZpCommonPipeModule } from '../pipes/zp-common-pipe.module';
import { SysSyncComponent } from './components/fields/sys-sync/sys-sync.component';

@NgModule({
  declarations: [
    PageContainerComponent,
    WorkFlowContainerComponent,
    TemplateContainerComponent,
    LabelTextComponent,
    InputTextComponent,
    SelectComponent,
    BaseFieldComponent,
    BaseContainerComponent,
    AddressSelectComponent,
    DateComponent,
    StartEndDateComponent,
    ProjectNumberComponent,
    BaseTableComponent,
    FinancialInputComponent,
    RmbCapitalizeComponent,
    TextAreaComponent,
    SearchBarComponent,
    FilesComponent,
    SpaceOccupyingComponent,
    AutoFormComponent,
    CellTmpComponent,
    AuditComponent,
    AuditResultComponent,
    AuditRecordComponent,
    AuditRecordItemComponent,
    ColumnTableComponent,
    FileMakerComponent,
    BidOpeningComponent,
    ImgModalComponent,
    TabsComponent,
    CrossLineComponent,
    BidOpeningCeremonyComponent,
    FunctionButtonComponent,
    ChartRadarComponent,
    ChartPieComponent,
    ChartHistogramComponent,
    BidEvaluationComponent,
    DocAssemblyComponent,
    TaskMemberComponent,
    EarlyWarningComponent,
    ShortMessageComponent,
    PlaceSelectComponent,
    PlaceSelectModalComponent,
    TaskTopBarComponent,
    CalendarMemoComponent,
    MemoItemComponent,
    AddMemoItemComponent,
    TaskNotificationComponent,
    TaskCardComponent,
    AddressBookComponent,
    OfficeToolComponent,
    SysSyncComponent
  ],
  imports: [
    CommonModule,
    FormsModule,
    ReactiveFormsModule,
    NzTimelineModule,
    NzButtonModule,
    NzCardModule,
    NzInputModule,
    NzSelectModule,
    NzCascaderModule,
    NzToolTipModule,
    NzDatePickerModule,
    NzTableModule,
    NzModalModule,
    NzMessageModule,
    NzUploadModule,
    NzIconModule,
    NzRadioModule,
    NzDescriptionsModule,
    AuthorityModule,
    NzDividerModule,
    NzPopoverModule,
    NzSelectModule,
    NgxEchartsModule,
    // CKEditorModule,
    NzTabsModule,
    NzPaginationModule,
    NzGridModule,
    GoodsModalModule,
    PermissionModule,
    PlaceUseAxisModule,
    NzCalendarModule,
    NzFormModule,
    NzTimePickerModule,
    NzBadgeModule,
    NzPopconfirmModule,
    NzListModule,
    ZpCommonPipeModule,
    EditorModule
  ],
  exports: [
    WorkFlowContainerComponent
  ]
})
export class EnginesModule { }
